
/**
 * @Desc 图表图文mock数据
 */
export function chartImage() {
  const _this = this
  return [
    {
      title: '办件总数',
      num: 219
    },
    {
      title: '办件总数',
      num: 219
    }
  ]
}

export function getGridData() {
  const _this = this
  return [
    {
      title: '办文总量',
      number: 321
    },
    {
      title: '在办数',
      number: 219
    },
    {
      title: '办结数',
      number: 189
    },
    {
      title: '超期未办结数',
      number: 10
    }
  ]
}
export function getHeaderListDataMock() {
  const _this = this
  return [
    {
      key: 'name',
      label: '部门'
    },
    {
      key: 'totalNumber',
      label: '办文数'
    },
    {
      key: 'doingNumber',
      label: '在办数'
    },
    {
      key: 'doneNumber',
      label: '办结数'
    },
    {
      key: 'failNumber',
      label: '超期未办数'
    },
    {
      key: 'percent',
      label: '办结率'
    }
  ]
}
export function getListDataMock() {
  const _this = this
  return [
    {
      name: '财务部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '人事部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '综合部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '财务部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '事业部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '财务部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '财务部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '市场部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '营销部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    },
    {
      name: '财务部',
      totalNumber: '100',
      doingNumber: '20',
      doneNumber: '30',
      failNumber: '10',
      percent: '23%',
    }
  ]
}